import request from '@/utils/request'

// 查询预约信息列表
export function listBooking(query) {
  return request({
    url: '/project/booking/list',
    method: 'get',
    params: query
  })
}

// 查询预约信息详细
export function getBooking(data) {
  return request({
    url: '/project/booking/detil' ,
    method: 'post',
    data:data
  })
}

// 新增预约信息
export function addBooking(data) {
  return request({
    url: '/project/booking/add',
    method: 'post',
    data: data
  })
}

// 修改预约信息
export function updateBooking(data) {
  return request({
    url: '/project/booking/edit',
    method: 'post',
    data: data
  })
}

// 删除预约信息
export function delBooking(data) {
  return request({
    url: '/project/booking/del',
    method: 'post',
    data: data
  })
}


